# $Id: PKGBUILD 65901 2012-02-22 13:30:20Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-object-multitype
pkgver=0.05
pkgrel=5
pkgdesc="Perl/CPAN Module Object::MultiType"
arch=("any")
url="http://search.cpan.org/dist/Object-MultiType"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/G/GM/GMPASSOS/Object-MultiType-$pkgver.tar.gz")
md5sums=('171ed010dab19fb8b94f22a5fca97814')

build() {
  cd $srcdir/Object-MultiType-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
